import { request } from "@/http/axios"
import type * as Good from './type';


// 更新商家信息
export function UpdateInfo(data: Good.CreateOrUpdateInfoRequestData) {
  return request<Good.CreateOrUpdateInfoRequestData>({
    url: "?s=ApiBusiness/bus_save",
    method: "post",
    data
  })
}
// 获取商家信息
export function getUserInfo() {
  return request({
    url: "?s=ApiBusiness/business_info",
    method: "post",
  })
}
// 代付公司
export function dfgs() {
  return request({
    url: "?s=ApiShop/dfgs",
    method: "post",
  })
}
